import { onMounted, onUpdated } from "vue";

function useMountedAndUpdated(func) {
  onMounted(func);

  onUpdated(func);
}

export default useMountedAndUpdated;
